# 作者:路伯阳
# 2025年02月28日15时43分47秒
# 846151791@qq.com
a = [x for x in range(10)]
print(a)
print('-' * 50)
a = [j for i in range(5) for j in range(i)]
print(a)
a = [[col * row for col in range(5)] for row in range(5)]
print(a)
print('-' * 50)
b = [i for j in a for i in j]
print(b)
print('-' * 50)
c = [x  if x % 2 == 0 else x ** 2 for x in range(10)]
print(c)
